package com.itheima.train.service;

import com.github.pagehelper.PageInfo;
import com.itheima.train.domain.CZYGroupDTO;
import com.itheima.train.domain.CZYGroupQuery;

import java.util.List;


public interface CZYGroupService {
    /**
     * 查询组列表
     *
     * @param adminId 管理员id
     * @return
     */
    List<CZYGroupDTO> findGroupListByAdminId(Long adminId) throws Exception;

    PageInfo<CZYGroupDTO> findGroupListPage(CZYGroupQuery query) throws Exception;
}
